﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class MainMenu : MonoBehaviour {


    public Button StartButton;
    public Button ExitButton;

    public GameObject _board;
	// Use this for initialization
	void Start () {
        StartButton.onClick.AddListener(() => {

            gameObject.SetActive(false);
            _board.SetActive(true);
        });


        ExitButton.onClick.AddListener(() =>
        {
            Application.Quit();
        });
	}
	
	// Update is called once per frame
	void Update () {
	
	}
}
